<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Autoid')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-AutoID" readonly class="form-control" name="row[AutoID]" type="number" value="{$row.AutoID|htmlentities}">
        </div>
        <label  class="control-label col-xs-12 col-sm-2">货架/库区:</label>
        <div  class="col-xs-12 col-sm-3">
            <input id="c-shelves_id"  name="row[shelves_id]" type="hidden" value="" >
            <input id="c-shelves_name"  data-rule="required" disabled data-source="information/shelves/index" data-params='{"custom[cWhCode]":"{$row.cWhCode}"}' class="form-control selectpage" type="text" value="{$row.shelves_id|htmlentities}">
        </div>
        <a href="javascript:;"  id="choose-shelves" style="margin-left: -15px;"  class="col-sm-1 btn btn-success" title="打开选择" ><i class="fa fa-plus"></i> 选择</a>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cwhcode')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-cWhCode" readonly class="form-control" name="row[cWhCode]" type="text" value="{$row.cWhCode|htmlentities}">
            <input id="c-warehouse_id" name="row[warehouse_id]" type="hidden" value="{$row.warehouse_id|htmlentities}" >
        </div>
        <label class="control-label col-xs-12 col-sm-2">{:__('Dmdate')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-dMdate" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[dMdate]" type="text" value="{$row.dMdate}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cinvcode')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-cInvCode" readonly class="form-control" name="row[cInvCode]" type="text" value="{$row.cInvCode|htmlentities}">
        </div>
        <label class="control-label col-xs-12 col-sm-2">{:__('Dvdate')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-dVDate" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[dVDate]" type="text" value="{$row.dVDate}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cbatch')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-cBatch" readonly class="form-control" name="row[cBatch]" type="text" value="{$row.cBatch|htmlentities}">
        </div>
        <label class="control-label col-xs-12 col-sm-2">{:__('Imassdate')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-iMassDate" readonly class="form-control" name="row[iMassDate]" type="number" value="{$row.iMassDate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iquantity')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-iQuantity" readonly class="form-control" name="row[iQuantity]" type="number" value="{$row.iQuantity|htmlentities}">
        </div>
        <label class="control-label col-xs-12 col-sm-2">{:__('Dlastcheckdate')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-dLastCheckDate" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[dLastCheckDate]" type="text" value="{$row.dLastCheckDate}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ccheckstate')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-cCheckState" readonly class="form-control" name="row[cCheckState]" type="text" value="{$row.cCheckState|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
